package com.example.service;

import com.example.entity.PushMessage;
import com.example.mapper.PushMessageMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 叶凯乐
 */
@Service
public class PushMessageServiceImpl implements PushMessageService {

    @Resource
    PushMessageMapper pushMessageMapper;

    @Override
    public boolean pushMessage(PushMessage pushMessage) {
        return pushMessageMapper.insAllMessage(pushMessage);
    }
}
